package com.zq.it.dao.admin;

import java.util.Collection;
import java.util.List;

import com.zq.it.pojo.TClass;

public interface TClassDao {

	public void saveClassEty(TClass tclass);
	public void saveClassEtyList(Collection<TClass> collection);
	public void deleteClassEtyByID(Integer id);
	public void deleteClassEtyByObj(TClass tclass);
	public void deleteAllEty(int ids[]);
	public List<TClass> findClassEtyList();
	public List findClassEtyById(Integer id);
	public void updateClassEty(TClass tclass);
	public List findClassEtyByName(String name);
	// public List findClassEtyByDate(Date date);
	public List findClassEtyByExmp(TClass tclass);
	public List findClassEtyBySQL(String hql);
	// public Class findClassEtyById(Integer id);
	public List findClassByHQL(String hql);
	// public List findClassEtyByType();
	public List findClassNameAndId();

	public void save(TClass transientInstance);

	public void delete(TClass persistentInstance);

	public TClass findById(Integer integer);

	public List findByExample(TClass instance);

	public List findByProperty(String propertyName, Object value);

	public List findByClassName(Object className);

	public List findByIshaveTask(Object ishaveTask);

	public List findByEntendField(Object entendField);

	public List findAll();

	public void update(TClass instance);

	public List findByHql(String hql);

	public void deleteByHql(String hql);
}
